package com.happyfamily.springboot.crowdsourcingplatform.controller.api;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

@Controller
@RequestMapping("${api-url-front}")
public class BackApiController
{
	@RequestMapping("/getPage")
	public ModelAndView getPage(ModelAndView modelAndView, String pageName)
	{
		modelAndView.setViewName(pageName);
		return modelAndView;
	}
}
